package router

import (
	services "learn/services"

	"github.com/gin-gonic/gin"
)

// Swagger 配置

func commmonRouter(router *gin.Engine) *gin.RouterGroup {

	r := router.Group("/r")
	{
		r.GET("/ping", services.Ping)
		r.POST("/upload", services.Upload)
		r.POST("/mulityUpload", services.MulityUpload)
	}
 
	return r
}
